package com.ruoyi.quality.domain.vo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class InspectionTaskTemplateSamplingItemVo {
    /**
     *
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     *
     */
    private String code;

    /**
     *
     */
    private String createBy;

    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     *
     */
    private String updateBy;

    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     *
     */
    private Boolean delFlag;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private String remark;

    /**
     *
     */
    private Boolean status;

    /**
     *
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long inspectionTemplateId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long inspectionTaskId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long inspectionTemplateItemId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long inspectionItemId;


    private String inspectionItemName;

    /**
     * 检验项数
     */
    private Integer qty;


    private Integer fillQty;


    private String fillType;

    private String value1;

    private String value2;

    private String value3;

    private String value4;

    private String value5;
    /**
     * 序列号
     */
    private Integer sequence;

    /**
     * 抽样名称
     */
    private String samplingName;


    /**
     * 是否配置公差(是否配置公差)
     */
    private String tolerance;

    /**
     * 是否合格
     */
    private String qualified;

    /**
     * 失效模式
     */
    private String failurePattern;

    /**
     * 公差1
     */
    private String standardToleranceOne;

    /**
     * 公差2
     */
    private String standardToleranceTwo;


    /**
     * 公差1下限
     */
    private Double lowerToleranceOne;

    /**
     * 公差1上限
     */
    private Double upperToleranceOne;

    /**
     * 公差2下限
     */
    private Double lowerToleranceTwo;

    /**
     * 公差2上限
     */
    private Double upperToleranceTwo;

    /**
     * 公差1描述
     */
    private String toleranceOneDesc;

    /**
     * 公差2描述
     */
    private String toleranceTwoDesc;


    /**
     * 是否合格1.合格 2.不合格
     */
    private String value;
    /**
     * 公差21 值
     */
    private String value21;

    /**
     * 公差22 值
     */
    private String value22;

    /**
     * 公差23 值
     */
    private String value23;



    private List<InspectionTaskValueVo> valueList;




}
